angular.module('faApp')
  .service('simuCompanyService', [ 'ajaxService',function (ajaxService) {

    this.list = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("SIMU_COMPANY_LIST"),cfg || {});
    };  
    
    this.add = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("SIMU_COMPANY_ADD"),cfg || {});
    };  

    this.edit = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("SIMU_COMPANY_EDIT"),cfg || {});
    };  

    this.query = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("SIMU_COMPANY_QUERY"),cfg);
    };  

    this.remove = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("SIMU_COMPANY_REMOVE"),cfg || {});
    };  

}]);
 




